package com.e9ab98e991ab.moduler.content

import android.app.Activity
import android.content.Intent
import com.e9ab98e991ab.moduler.R
import com.e9ab98e991ab.moduler.ui.edittext.EnglishInputAnimationActivity
import com.e9ab98e991ab.moduler.ui.toast.ToastActivity
import com.e9ab98e991ab.moduler.ui.vivo.VivoInstallationPasswordActivity
import com.e9ab98e991ab.moduler.model.MainGlideModel
import com.e9ab98e991ab.moduler.ui.pay.AliActivity
import com.e9ab98e991ab.moduler.ui.pay.WXActivity
import com.e9ab98e991ab.moduler.ui.zx.EmptyActivity
import com.e9ab98e991ab.moduler.ui.zx.HandwrittenActivity
import com.e9ab98e991ab.moduler.ui.zx.ZXLiteActivity
import com.ketangabc.sdk.RecordMainActivity

class PageContent {

    fun setPage(): List<MainGlideModel> {
        return listOf(
                MainGlideModel(R.drawable.ic_automatic, R.string.automatically_password),
                MainGlideModel(R.drawable.ic_letter, R.string.english_input_letter_animation),
                MainGlideModel(R.drawable.ic_toast_logo, R.string.toasty),
                MainGlideModel(R.drawable.ic_wechat, R.string.wechat),
                MainGlideModel(R.drawable.ic_alipay, R.string.alipay),
                MainGlideModel(R.drawable.ic_record_voice, R.string.record_voice),
                MainGlideModel(R.drawable.ic_qr_code_recognition, R.string.qr_code_recognition),
                MainGlideModel(R.drawable.ic_qr_code_recognition, R.string.speech_recognition),
                MainGlideModel(R.drawable.ic_handwritten_signature, R.string.handwritten_signature)
        )
    }

    fun getActivty(mContent: Activity): List<Intent> {
        return listOf(
                Intent(mContent, VivoInstallationPasswordActivity::class.java),
                Intent(mContent, EnglishInputAnimationActivity::class.java),
                Intent(mContent, ToastActivity::class.java),
                Intent(mContent, WXActivity::class.java),
                Intent(mContent, AliActivity::class.java),
                Intent(mContent, RecordMainActivity::class.java),
                Intent(mContent, ZXLiteActivity::class.java),
                Intent(mContent, EmptyActivity::class.java),
                Intent(mContent, HandwrittenActivity::class.java)
        )
    }





}
